package me.idashu.attg.service;

import java.util.List;

import me.idashu.attg.domain.UpLabelEntity;
import me.idashu.attg.persistence.UpLabelMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UpLabelService {
	
	@Autowired
	private UpLabelMapper uplabelMapper;
	
    public List<UpLabelEntity> getListUplabelEntity(String citycode){
    	List<UpLabelEntity> listupLabel = uplabelMapper.getListUplabelEntity(citycode);
    	return listupLabel;
    }
    
    public List<UpLabelEntity> getAllUpLableEntity(String citycode){
    	List<UpLabelEntity> listupLabel = uplabelMapper.getAllUpLableEntity(citycode);
    	return listupLabel;
    }
    
    public List<UpLabelEntity> getAllUplabe(){
    	List<UpLabelEntity> listuplabel = uplabelMapper.getAllUpLabel();
    	return listuplabel;
    }
}
